package com.mes.cloud.api.dto.request.role;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import java.io.Serializable;

/**
 * @Description 查询角色现有菜单
 * @author: wxm
 * @date: 2019/8/6 8:59
 * @version: 1.0
 */
@Data
public class RolePidListRequest implements Serializable {
    private static final long serialVersionUID = 5559587660135678795L;

    @ApiModelProperty(value = "角色ID", required = true)
    @NotEmpty(message = "roleId不能为空")
    private String roleId;

    @ApiModelProperty(value = "菜单id", required = true)
    @NotEmpty(message = "pid不能为空")
    private String pid;

    @ApiModelProperty(value = "平台", required = true)
    private String platform;
}
